<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>

<h1>cljh学java</h1>
<div id="app">
    {{message}}
</div>
<div id="app-2">
  <span v-bind:title="message">
    鼠标悬停几秒钟查看此处动态绑定的提示信息！
  </span>
</div>

<!--1.导入vue.js-->
<script src="vue.js"></script>
<script>
    var vm=new Vue({
        el: "#app",
        data:{
            message:"hello,vue!"
        }
    });
    /*v-bind: message ={{message}} */
    var app2 = new Vue({
        el: '#app-2',
        data: {
            message: '页面加载于 ' + new Date().toLocaleString()
        }
    })
</script>
</body>
</html>